package router

import (
	"Im/api"
	"github.com/gin-gonic/gin"
)

func UserRouter(auth *gin.RouterGroup) {
	user := auth.Group("/user")
	{
		user.GET("/details", api.UserDetail)
		user.GET("/userMsg", api.GetUserMsg)
		user.POST("/update", api.UpdateUser)
		user.POST("/addFriend", api.AddFriend)
		user.POST("/deleteApplication", api.DeleteApplication)
	}
}
